package com.symaster.common.geom.show.map.create.button;

import com.symaster.common.geom.show.map.create.EditController;

import java.awt.event.ActionEvent;

public class CreateStraightLineButton extends MyControllerButton {

    public CreateStraightLineButton(EditController editController) {
        super(editController, "直线");
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        super.editController.createLine();
    }
}